#ifndef __SPLITTOOLCPPJIEBA_H__
#define __SPLITTOOLCPPJIEBA_H__

#include "Configuration.h"
#include "SplitTool.h"
#include "cppjieba/Jieba.hpp"

#include <iostream>

const char* const DICT_PATH="/home/xukk/jieba/cppjieba/dict/jieba.dict.utf8";
const char* const HMM_PATH="/home/xukk/jieba/cppjieba/dict/hmm_model.utf8";
const char* const USER_DICT_PATH="/home/xukk/jieba/cppjieba/dict/user.dict.utf8";
const char* const IDF_PATH="/home/xukk/jieba/cppjieba/dict/idf.utf8";
const char* const STOP_WORD_PATH="/home/xukk/jieba/cppjieba/dict/stop_words.utf8";

class SplitToolCppJieba
:public SplitTool
{
public:
    SplitToolCppJieba(Configuration &conf); 
    ~SplitToolCppJieba(){};

    vector<string> cut(const string &sentence) override; 
private:
    Configuration &_conf;
    cppjieba::Jieba _jieba;
};

#endif
